namespace :bilibiliranking do
  desc "bilibili ranking example list"
  task :list => :environment do
    require 'lib/tasks/vegas_video_maker.rb'
    require 'lib/tasks/bili_ranking_maker.rb'
    include VegasVideoMaker
    BRM.create({:path => "#{BILI_PRO_PATH}#{ENV['pa']}\\"}) do |vvm|
      vvm.play_bgm('bilibili-mubox.wav') do
        vvm.pics "rest", [1], :length => 4
      end
      vvm.list1 [47]
    end
  end
end